/******************************************************************************
//             INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 2000-2001 Intel Corporation. All Rights Reserved.
//
//  Description:
//      Intel(R) JPEG library for X platform 
//
********************************************************************************/
#include "_ijx.h"

#ifdef _WIN32
//#include <math.h>
#include <string.h>
#endif

void ijZeroMemory_4BYTE(void *pSrc, int len)
{
#ifdef _WIN32
    memset(pSrc, 0, (len<<2));
#else
    int i;
    int *pTemp=(int *)pSrc;
    for (i=len; i>0; i--) {
        *pTemp++=0;
    }
#endif
}

void ijZeroMemory_1BYTE(void *pSrc, int len)
{
#ifdef _WIN32
    memset(pSrc, 0, (len));
#else
    int i;
    Ipp8u *pTemp=(Ipp8u *)pSrc;
    for (i=len; i>0; i--) {
        *pTemp++=0;
    }
#endif
}

/* EOF */
